Pet Store Web Service
Pet Store Web Service / Access to Petstore orders Resource Group / getOrderById (Get)
In This Topic
    GetgetOrderById
    In This Topic

    Resource Path: /store/order/{orderId}

    Description
    Find purchase order by ID
    Parameters
    NameDescriptionData Type
    ID of pet that needs to be fetchedinteger
    Response

    The response body is of type Order.

    successful operation

    Overview

    Order
    Represents an individual order.
    id : integer
    Order Id.
    petId : integer
    Pet Id.
    quantity : integer
    Quantity.
    shipDate : string
    Shipping Date.
    status : string
    Order Status
    complete : boolean
    Fault Responses
    FaultDescription
    Invalid ID supplied
    Order not found
    See Also